package com.vnt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vnt.feign.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysRoleMapper extends BaseMapper<Role> {
    @Select("select key_name as label,key_name as value from sys_role")
    List<Map<String,Object>> getOptions();
}
